Skip to content

reject extensions in a TLS 1.3 Certificate message that were not offered in the prior ClientHello/CertificateRequest#10338

Open
gasbytes wants to merge 1 commit intowolfSSL:masterfrom
gasbytes:cert-ext-offered-list-fix
Open

reject extensions in a TLS 1.3 Certificate message that were not offered in the prior ClientHello/CertificateRequest#10338
gasbytes wants to merge 1 commit intowolfSSL:masterfrom
gasbytes:cert-ext-offered-list-fix

Conversation

@gasbytes
Copy link
Copy Markdown
Contributor

@gasbytes gasbytes commented Apr 28, 2026

fixes #10319

per RFC 8846 4.4.2 (https://www.rfc-editor.org/rfc/rfc8446.html#section-4.4.2)

"Extensions in the Certificate message from the client MUST correspond to extensions in the CertificateRequest message from the server."

added missing check in src/tls.c checking message type, tls version (must be tls 1.3) and call to find the extensions in the ssl object that were parsed in the previous clienthello and/or certificate requesst

…red in the prior ClientHello/CertificateRequest

per rfc 8446 4.4.2
@gasbytes gasbytes self-assigned this Apr 28, 2026
@github-actions
Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@gasbytes gasbytes marked this pull request as ready for review April 29, 2026 10:10
@gasbytes gasbytes assigned wolfSSL-Bot and unassigned gasbytes Apr 29, 2026
@gasbytes gasbytes requested a review from julek-wolfssl April 29, 2026 10:11
@gasbytes gasbytes requested a review from rizlik April 29, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Client Certificate Extensions Offered-List Inconsistency

3 participants